<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
    <meta http-equiv="Content-Language" content="English" />
    <meta name="Author" content="Prabesh Shrestha (prabesh708@gmail.com)" />
    <meta name="Robots" content="index,follow" />
    <meta name="Description" content="Project Management" />
    <meta name="Keywords" content="project, management" />
    <link rel="stylesheet" type="text/css" href="css/admin.css" />
    <title>Welcome Administrator</title>
</head>
<body>
 <%  
            String group="group";
            String project_list="project_list";
            String employee_list="employee_list";
            String add="add";
            String delete="delete";
            String message="message";
            String tlist="task_list";
            String pageid=request.getParameter("pageid");
            
            %>    
    <div id="main">
        <jsp:include page="admin/header.jsp" />
        <jsp:include page="admin/below_header.jsp" />
        
        <div id="right">
            <div class="maincol">
                                 <!-- this file has the content of the main area -->
                    <% if(pageid.equals(group)){%>
                    <jsp:include page="admin/group/group.jsp" />
                    <% }else if(pageid.equals(project_list)){ %>
                    <jsp:include page="admin/project/index.jsp" >
                         <jsp:param name="ttid" value="0" />
                    </jsp:include>    
                <% }else if(pageid.equals(employee_list)){ %>
                    <jsp:include page="admin/employeelist/emp_list.jsp" />
                <% }else if(pageid.equals(add)){ %>
                    <jsp:include page="admin/Add/index.jsp" />    
                <% }else if(pageid.equals(delete)){ %>
                    <jsp:include page="admin/delete/index.jsp" /> 
                <% }else if(pageid.equals(message)){ %>
                    <jsp:include page="admin/message/index.jsp" />                      
                    <% } 
                        else if(pageid.equals(tlist)){ %>
                    <jsp:include page="admin/task/tasklist.jsp" />                      
                    <% }else                                            { %>
                    <jsp:include page="admin/default.jsp" />
                <% }%>   
            </div>
        </div><!--end of right -->
        <div id="left">
            <div id="project_list">
                <jsp:include page="admin/project_list.jsp" />
            </div>
        </div><!--end of left -->
        
    </div><!--end of main -->


</body>
</html>